/*
	2007-12-15 Mirror Widget Implement 
	Toronto, 3:13PM, -10.5oC, very cool!
*/
#pragma once
#include "container.h"
#include "Animate.h"
#include "CBackGroundWidget.h"
#include "CMaskWidget.h"

class DLL_EXP CMirrorContainer :
	public CContainerWidget
{
public:
	CMirrorContainer(void){
#ifdef _DEBUG
		 m_clsName="CListWidget";
#endif

	};
	virtual ~CMirrorContainer(void){	

	};
public:
	int m_nItem;
	bool m_bAnimateEffect;	
	ModelListener m_animateListener;
	CContainerWidget m_WidgetContainer;
	
	static void HandleAnimateListener(void *pUserData, ModelEvent *pEvent);
	virtual  CWidget* GetSelectedItem();
	virtual void HandleItemSelected(CWidget* pItem);
	virtual  bool HandleMouseEvent(int evCode, WPoint* ptScreen, int param2);
	
};
